package com.myweb;

import java.io.IOException;

public class HsdbDemo {
    static {
        System.out.println("这个也在初始化");
    }
    public static void main(String[] args) throws IOException, ClassNotFoundException {
//        System.out.println(Demo2.i);
//        Class demo2Class = Class.forName("com.myweb.Demo2");
//        Demo2 demo2 = new Demo2();
    }
}

class Demo2{
    static {
        System.out.println("初始化中");
    }
    public static int i = 0;
}
